Adding prototype pattern example