initial work on multiple user function