Works but very ugly and inflexable, renamed receipt class