Pass vn_id around instead of using vn_class.vn_id