Made some accessor functions