Try another implementation of KEEP_ALL