merge calculations, turn quartiles into getter function