running command defer