added in new scopes; closes #3