added coloring of players and helperfunctions