first version of scoping and modularization tasks