add compatibility file
add filters, class functions