starting to debug error prob