Final working, encoding, driving, code