more profile logic work for agent now