added ticket class
defined ticket method in base class