better header, made constant arguments const