adding check for turn, need to add delay