Create a custom loader