adding custom loader