finished coding bean template file