Removed unused variable 'id'