finished setting up the front end