code for release 2