workin on scala futures