add div and mod methods