Tuning and optimization Tasks 3-4