reworking it in terms of Fragments