updates for session 3 and 4