cleaning up logic for selecting background processor method