deleted use of ijk-end and delete ijk-a after use