mod helper class