updated versions, fixed queue initialization problem