Added right way to create contract