added gallery features