corrects the function to match the need or assignment
removes needless call out for the gallery