adding attack and decay to freeze