initialize key