added accessor functions