adding getindex methods but - gah - no tests