add macro for autocompletion