session and double buffer
session and double buffer