added pipe_to_vector example