attempt an equipment fix...may be able to remove the typecasting and just use object up top?