added preprocessing shortcut