Add Attributes to make algo dynamic