scope of a bean