made sure that where using the top level scope class