simplified tip calc enumerating over array