improve quality of code