added use of 'ebo', use of indices when drawing