future has to be outside of try