won't this emit a warning due to missing cast?