Added preliminary code and a