calculator method test added