Simplifying data() method