copied code from website to work