added remote fetch
added state to command