adding appropriate warnings