added gallery class