createContextAndQueue() merged two different functions