added some warnings