added enum, all modules for lab 2 are working