made checkmark replacement more generic