added source code to skelcontr