added functionality for handle to be initialized with an optional a user...

added an optional initialValue parameter for the initial value of the handle; functionality otherwise remains the same