Implement functional parts of workload 1