fixed bugs and about to turn into in postgres db