padded sent length by 5 to ensure no buffer issues