The invention provides novel compounds having the general formula (I) wherein R1 is selected from substituted phenyl, pyridinyl or thiophenyl, R2 is selected from optionally substituted aminosulphonylphenyl, aminosulphonylpyridinyl, aminosulphonylthiophenyl or aminosulphonylthiazolyl, X is nitrogen or carbon, Y is a linking group, Z is a direct bond or a linking group, m = 0-5, n = 0-5 with the proviso that m+n is 2-5, compositions including the compounds and the use of the compounds in the treatment or prophylaxis of ocular conditions.