pretty print for vector structure added, slight renaming