getProfile method. closes #6
1.3.9