added flexinit