adding gallery functions