implemented code to parse between.