Not sure why I used the intermediate cast anyway.