some changes to the front end