compilation warning here. a cast can remove it, i guess.