Remove trailing comma and unused variable 'owner'