remove ununsed function