smoke initial code