local storage

pass parameter for local storage