added documentation on profile().