point to right function