calculation tool not working