working on debuggin