added warnings demo