redundancy with imshow removed