pa1p2 - added vocab export function