reducing the warnings