Thanks for your suggestion. --import Word (fromIntegral) --import Word (word32ToInt) I removed both import statements from the code and tried to run again. This time HUGS generated the following error. ERROR "Animation.hs":57 - Undefined variable "word32ToInt" ~Alex