Code is repeated 3 times. Better to extracta method.