added the future and callable stuff to the main, but the callable functions needs to be defined