took rdev out of the struct in .h