Changed call order, replaced "on()" with "once()"