add the code in guard.hs;