starting to implement math support