some modifications to added source