add feature6 for lastday only