Code with all modules integrated