initial stages of adding the order filter