Code for the Escape project