changed imagvc implimentation again