refactors the 'verify_serving' command