lab1.2 - basic modularity