gallerey now auto generating