first stap and building instance