helper to print out profile