trying to impliment getAll