incorporated parse into main