parameters should be indices and aliases