even more scope stuff