This is the code I have started to use.