added screen buffer