recoding the meta module
minor improvements