added String to long functor