updates to front end code