revise to def