added dll loading