adds outline of code we need to write
step one in saving state