Removed the redundant function, which gets calls inside the async callback later