added vaddr function