Actually, this is how it should be done