removed unused code
added release and exceptions