How would you do this using serverless?