implement host command