Implementacion of categories