Add : get and getall functions