Updated initialization, debugging.