Can you make this a separate named function?