added some functions to vectorrange