got a start on the function. now want to add range