The present invention encompasses compounds of formula (I), wherein the groups R1 to R4, have the meanings given in the claims and specification, their use as inhibitors of KHK inhibitors, pharmaceutical compositions which contain compounds of this kind and their use as medicaments, especially as agents for treatment and/or prevention of NAFLD, NASH and type II diabetes.