add calculator function