added ebean functionality