added preview changes for attacking