improve functions, add TODAY page