added shape() method demo