adding alpha-beta info & changing name of function