cleaned up code smell in get selections funcs