remove repeated method call