end-logic included, not implemented