created checkformodules behaviour