still some improvements on snippet functions (queue system)