various modifications to modules