Add parse function
Solve mprt problem