most basic analyse profile function constructed