taking in consideration __all__ errors