syncing volume viewer code with TIPL