Adding functional logic to home tasks