removeKey funtion added