Make sure functions don't change input