adding a scope and some stuff