The invention provides compounds represented by the formula I, each of which compounds may have sphingosine-1-phosphate receptor agonist and or antagonist biological activity, wherein these compounds selected from the group consisting of wherein A, B, C, D, X, Y, Z and R3are defined in the ...