Adjusting code to present module