starting new approach of Haskell-C-Java