making public the struct parameters, and was implemented the queue functions