deleting unused function