FIX: removed unused local variables.