added numbering for gallery