added simple controller