Add some code in the front end