removed old-style casts with static_cast :-)