final fleury code added