works for readonly observations too.