Converting to sub module