add ending print