Nearing final code.