eliminating some warnings