Added warnings and warning errors