adding pot control