added Fragment based sample