Getting some important accessor functions working