silly type casting!