added partner module
switched to new error function