added create method to queue