removed length checking