update copyright and correct struct indentation