How to add custom effect.