Added indices
Added intbuffer
Implemented indices