module the front end code