Codes from work and free time