Reuse common code