removed unnecessary function in game