First db implementation WITH BUGS !!