gallery class