added 202 version of collapse