added filter and withFilter
readded implicit almF => scalaF