add simple sample based on Object.create