added a phase search for position=zero