example for 'cast vs as'
brushed the code