code example, solfrid