phones loop was incorrect