I guess what you have here will be more robust in that negative indices should be able to be used.