Building code for filter