first draft of front end