added warnings
Revert "added warnings"

This reverts commit 3b9d4804d95f2f140dcfb71ee3327949ceba5703.