get rid of unused function