changed name
fixed connect method, readded callback