added Trick class