finished fully functional basic store functions