gallery now implemented