fully tested scm helper