first iteration of the front end