It should be duplicate() even if it makes not difference here :) Let me fix it for you and push your code.