First version of celery approach