Added first chunk of code.