adding localStorage features