Modified the hit or stay method