bug corrected - function call, not getitem