pull scope into it's own file