generating wns methods