added puig im1...im8 and connection