trying to understand the framework, added more types of beans
fixed warning in exchange class