REAL FIX FOR ROUTINE