Adding string compression code