Def instead of set for variables...
Add more debug