Pattern are used to entry and exit