separate new code into module