added release functionality