removed parsing from main