added class parent and reorder