added warnings, errors