added queue declaration
parse product id