start of code