made a class that can play a sequence through a form