Almost have the profile query working