appointment bean functionality