changed << and added connect