Simplified Main example