task/ consumer queue attempt, buggy