Added functionality for prototype valve