Add beginings lifted from earlier QND repo