Get rid of unused function