created Trek class