fixes: task5 this, task7 width calculation, each