const only when as parameter