changed getAll to build on getDays