uadded calculator funcitonality