queue done

queue function done