first try at db read + better timing module