First attempt at preprocessing queue