new init for elastic