parsed stuff in main