added get, set state methods to Pointing class