adding release functionality