fix calendar year
fix result check
remove unused
fix sql
implement store_data