master adding the release function