allow sub classes to access context