reset now has link to file, doesn't require input anymore
format and compound function