almost ready to debug