added behavior class and setup method