commented out non-working cursor selection functionality
syncronized variable names