Removed utils.attack function