implemented scope