IMPLEMENTATION OF THE SMILE SCHEME