i think code style can be corrected later. Since debug module is under development.