initial code for debug