Added processing logic