more casting stuff woooo