cleaned up backup files and added formats.h