session 4 code