handle inaccessabilibies more declaratively