working on calc interface