Argument 3 does not match to the parse function signature; seems like you need to take out text.length from this call.