moved some stuff, .so lib for type & err