rough draft complete with enter button function