Removed unnecessary callback function