added zranges and relatecoorelationsandcoordinates