Copy paste of code.