how bean has creating !!!!!