started working on adding packets queueing to decoder