front end theory