Added release

Added switch functions