The standard algorithms