added const to main