getting profiles working