replace given to avoid warnings