Some different implementations to do the same thing.