making profiles dynamic