a bit of work on the front end