made the whole thing work with unsigned shorts