Adds warnings to program