added ability to also fill in method using duplication listings