second cast not needed