Looping issue of profiles sample - review comments implementation