Some code for modulehandlling