started from scratch. inserted forms and a function
added forms