updates files, passes test

You should probably get rid of this function, it's not really doing anything useful.