added user input verification
added headers, changed master header