add status builtin func