ustda: extract method