functional learn/markup example