update top level

code improvement added defines codes for status