moved functions under Math, and scoped some functions under Polish