updated documentation and added source code