external and internal modules working