eliminating warnings