modified calc method to display more than single digit input