added element at to kth so if we need it

just add