trying other approach of inherits10