implemented driving pool creation logic and fixed input validation