added game math class