gallery now works