Inserting debug method.