use modulo property

Signed-off-by: Vasanth Raja <ch.vasanth.raja@gmail.com>