add indexCtrl
use bootstrap