First implementation of scope