this is the issue you need to learn for yourself. someone was nice enough to supply you with code, but instead of understanding it yourself and adapting it, you just copied it incorrectly. if you don't know what a method is doing, don't use it and rethink how you're trying things out.

