completed version of Input Controls module