consistent variable acess and consistent debugging
FIX ALL THE BUGS