added all front end stuffs