added expand() example