using strip method instead of deprec'ed func