Hmm there seem to be quite a few subroutines twice in this module....