trying other approach of inherits8