Added variable length

added variable length