finished: following tab & delete function