know your entering point and exit point