plan of action: - right now I'm reading all the values in scan function. read all the values in scan_request_handler() and pass them as argument to the init() function - sync the two init functions. one way to do it is by adding if statements