changed loader to a relay