added custom loader