adding scope to th