view profile works with sample text