Implemented execute cmand