add magic command