Implemented filter mechanism and added appropriate indices.
Mapped YY input to YYYY and back.