added facility and partition checking to client