fucked up everything trying to make it generic for '3d' images