Simplified snippet to avoid entering a lot of fields