basic bean example