trying to get rid of  some warnings