Why aren't these functions elements of listeners array?