removed repetition in makedb.m