added vector read function to command queue