contract create and contract call working