updated
added store functionality
pre mvc