Deleted unused function