Added gallery class