public String[] createUserFlags(){
  String[] flags=new String[userFlags.size()];
  for (int i=0; i < userFlags.size(); i++) {
    flags[i]=userFlags.get(i);
  }
  return flags;
}

public String [ ] createUserFlags ( ) { String [ ] flags = new String [ userFlags . size ( ) ] ; for ( int i = 0 ; i < userFlags . size ( ) ; i ++ ) { flags [ i ] = userFlags . get ( i ) ; } return flags ; }
this implementation supports user flags
