Newest updated code.