release of getfirst.hs and getlast.hs