why the fuck is it calling everything twice