Optimized typing, added (and commented) scroll