start of code.