add end of line transition