copied over advanced source files