starting to implement restul storage