working as two modules