added flag to enable non-strict frames