most errors resolved. working on order of ouptut issues