First draft of front end