adding domain object to the command demo