more processing for the different selections