Contingency management

Made a start with the contingency management