added initial multiuser support