better error handling
working on implementing the new store factory in view/models