added apply_filters and get_filter method