added dll stuff