Insert on checking flag