adding an auto-load feature