initial parsing and viewing data