remove capturing of actionStreet atom in favour of passing the predicate given