eliminate warning of ununsed function