locals are now index based instead of kw based