changed half the beans to stateless