Added an incomplete function for key_method_3_write