add conditional for different length strings