using future() method to return future object