added buttons etc. to form