Implement the rest of the phases of the turn; still not working perfectly though