Data generating free space and added formating for output