hand calculation working