added release mode