add interface to calculator