Modifications for multiple instance (added user_handle) and cleanup indentation for clarity.