added key an IV instance variables