Changed executor interface. Added method