The function cannot find the elements being fed to it