unnecessary cast