Added mod check