added debug_frmwrk_init() into the init function