Simplified 'clever' code