calculator provides output