Further handling different scenarios and patterns

- Works well for simple samples
- Working to recognize requires which are not loaded into variables