changed constructor and set_drives() function