adding messageflooder class