assess function updated