basic mod class