add some warnings (to be fixed)