now morse example works completly