Removed extra push and pull code