add gallary funcrionality