API filter and drop take same arguments