added constructor to carworker