some changes in STQueue