sonar: first version compiled untested