changed reference to gallery