Preliminary code added.