Completed first implementation of futures