The present invention provides for compounds of formula (I): wherein R1-R4 and n are defined herein. The present invention also provides for pharmaceutical compositions and combinations comprising a compound of formula (I) as well as for the use of such compounds as tankyrase inhibitors and in the treatment of Wnt signaling and tankyrase 1 and 2 signaling related disorders which include, but are not limited to, cancer.