add method to calculate tip and tax