CAN init moved to separate function