changed List and Queue types to native java.util library types.