encapsulates effective principal logic