forgot to commit file io stuff