trying other approach of inherits17