playing around but i still need to have the beans defined upfront