Added optional filter arguments and corresponding example