added automatic ratelimiting (can't turn it off yet)