extensive code manually

Categorise