The invention provides compounds which are PDE7 inhibitors, having the following formula (I), (II) and (III)