implement break button