Implemented parse method