changing #warnings to TODO