Added checks for human player