using shim and dependencies on require for libraries