finished app functions, added local storage capacity