adding "connection.done" calls.