yay dangerous casts...