week plan logic and view