updates to profiles.pde