implemented all builtin commands