Added two output functionality. Changed switch in pin