Have the code working with simple db readings