parse class