modify and debug code