first work on the front end