Added exculde functionality to stats component