implement sys command