plug method