Taken from NTUHEP CVS repo