got a functioning calculator working