boilerplate added to index and submit