add new code to debug