accessor and printing methods