added addr() and size()