reference coordinate implementation