implemented fetchAll, did not like it. should change