added store and db based on ror book