Error in beginning of turn procedure