Add function in modulewise