fixed operation delete
added penalty calculation engine