Use As instead of Cast