use 1 & -1 if start/end not specified