Moving the (objact) cast to the correct spot

## Ready state Yes