added reset function
added Modifier class