insert console log and delete