Simplified preprocessing