all functionallity now on local storage