Deleted an unused function