Use prone for error handling