1st part done, working on collapse