added non-static parse method