move code to min+ plugin, shorten code