first test done
calc(): little modification