redid try/catch in point of sale class