refact method arguments