Towards improved functionality and performance of intrusion detection systems