trying to make queue work