created math interface