added comments, changed filenames