manage code in modules