what's the purpose for defaultCommand?