add parse to main