add basic clapprLoader function