simpler code, easier to understand