tip calc with method