Added enums for oder filter And added comments