"make" isn't used anywhere in the remaining code, and has the same name as the makeapi access point variable. I'd strongly recommend changing this to "result" to prevent confusion.