typos - assignment, index, type