trying more substr techniques