Added getvbddata function