Added end stiumuls control