bad way of quick implementation of local stoarge