Added processing and end