calculator now works