updated loader simple example