starting moving to module pattern