added code for loading dependencies