adding the possibilty to set the scope