moduleR makes writing module easy