added Scope and changed permitted attr method