added debugging to ideas