implemented actual setScope commands