functions passes kye instead of images name