more succint api for adding commands