temp fix compiler errors (code is not used; will throw away later)