started doing attack logic