beans generating