split quantization process
created different functions for each question