first implementation of profile fragment.