added backwards compatibility option