refactored to generic alias filter