How to sequence a class