setup base environment