warnings and error