reformatting and creating objects