Controls titles
Code style fixed