starting gallery implementation