preparing modules