refactor C1Q4

giving better names and adding more description