this can be removed as it is done in the worker