added mode for w=bar(z)