modules for @per = effect and modal, plus bugs and documentation