copied over obby code from the old beta