doing controls index