added conditional when players arent active