Added stl version of the simple window