exporter can now retrieve the last value from the database (#9)