finished draft of gallery creation