added version of module from Mia's e-mail
pulled together a few versions for reference